<template>
	<div class="header">
		<div class="header-left iconfont" @click='goback'>&#xe623;</div>
		<div class="header-center">{{ name }}</div>
	</div>
</template>
<script>
export default {
	name: 'databankHeader',
	props:{
      name:String,
    },
	data: function(){
		return {
		}
	},
	methods:{
		goback(){
			this.$router.back();
		}
	}
};
</script>

<style lang="less" scoped>
	@import '~styles/header.less';
	.header .header-right,.header .header-left{
		font-size: .5rem;
		line-height: 1rem;
	}
</style>